package com.edu.bean;

/**
 * @Author:mx
 * @Date:2025/10/29-16:18:33
 */
public class Depart {

    private int departId;

    private String departName;

    public int getDepartId() {
        return departId;
    }

    public void setDepartId(int departId) {
        this.departId = departId;
    }

    public String getDepartName() {
        return departName;
    }

    public void setDepartName(String departName) {
        this.departName = departName;
    }

    public Depart() {
        System.out.println("执行了depart的构造方法");
    }

    @Override
    public String toString() {
        return "Depart{" +
                "departId=" + departId +
                ", departName='" + departName + '\'' +
                '}';
    }
}
